package com.hp.attendance.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class PageInfo<T> {
    //数据记录
    private List<T> records;
    //当前页
    private int current;
    //总页数
    private int pages;
    //总记录条数
    private long total;
}
